#include ("/_includes/_layout.html")
#@layout("商品分类", "wxmall,点步科技", "Wxmall社区","wxmall")
#define css()
<style type="text/css">
.weui-grid__icon{
	width:48px;
	height: 58px;
}
</style>
#end
#define content()
#include ("/_includes/search.html")
<div class="content" style="font-size: 14px;">
<div class="weui-grids">
<a href="#(webctx)/product" class="weui-grid js_grid">
    <div class="weui-grid__icon"><img src="#(webctx)/resources/images/nav-ionic.png" alt="全部分类"></div>
    <p class="weui-grid__label">全部</p>
</a>
	#for( categ : categories)
<a href="#(webctx)/product?categId=${categ.id}" class="weui-grid js_grid">
    <div class="weui-grid__icon"><img src="#(img_domain)#(categ.img_path)" alt="#(categ.name)"></div>
    <p class="weui-grid__label">#(categ.name)</p>
</a>	
	#end
</div>
</div>
#end
<script>Template.init("#nav-page-categ");</script>


